import 'package:flutter/cupertino.dart';
import 'package:ty_smart_watch/common/images_url.dart';

class DateBar extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    double size = 8;
    return Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        Image.asset(SLEEP_ARROW_LEFT, width: size, height: size),
        const SizedBox(width: 6),
        Text(
          "2023年11月30日至2023年12月6日",
          style: TextStyle(fontSize: 12),
        ),
        const SizedBox(width: 6),
        Image.asset(SLEEP_ARROW_RIGHT, width: size, height: size),
      ],
    );
  }
}
